package com.qian.service.ddj.entity;

import com.yaowk.service.common.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.hibernate.annotations.CreationTimestamp;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import java.util.Date;

@Getter
@Setter
@ToString
@Entity
@DynamicInsert
@DynamicUpdate
public class DdjWithdraw extends BaseEntity<Long> {

    private String orderNo;
    private String cardNo;
    private String cardPhone;
    private String cardPerson;
    private String cardBank;
    private String amount;
    private String backup1;
    private String backup2;
    private String backup3;
    private String backup4;
    private String backup5;
    @CreationTimestamp
    private Date createTime;
    private Byte status;
    private String result;

    @ManyToOne
    private DdjBusiness business;
}
